package com.celtic.service.impl;

import java.util.List;

import org.appfuse.service.impl.GenericManagerImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.celtic.dao.ProjectUrlDao;
import com.celtic.model.ProjectUrl;
import com.celtic.service.ProjectUrlManager;

@Service
public class ProjectUrlManagerImpl  extends GenericManagerImpl<ProjectUrl, Long> implements ProjectUrlManager {

	ProjectUrlDao projectUrlDao;
	

	@Autowired
	public ProjectUrlManagerImpl(ProjectUrlDao projectUrlDao) {
		super(projectUrlDao);   
		this.projectUrlDao = projectUrlDao;
	}

	
	@Override
	public List<ProjectUrl> findByProjectInstance(Long id, String instanceName) {
		// TODO Auto-generated method stub
		return projectUrlDao.findByProjectInstance(id, instanceName);
	}

}
